package com.zhangxi.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ClassName: WechatProperties
 * Package: com.zhangxi.properties
 */

@Component
@ConfigurationProperties("sky.wechat")
@Data
public class WechatProperties {
    /**
     *   wechat:
     *     appid: wx0756c9830136efc1
     *     secret: 211828ef5145f2f051af28ab31f4c82b
     */

    private String appid;

    private String secret;
}
